<template>
	<!--新闻通知-->
	<div class="NewsInform">
		<div class="banner">
			<div class="location">
				<div class="location-text fl">
					<img class="location-img fl" src="../../images/home/xinwen.png" />
					<p class="fr">工作动态</p>
				</div>
				<img class="biaotibg fl" src="../../images/home/biaotibg.png" />
				<p class="navigation">
					<span class="go-back">
						<router-link :to="{path:'/index',query:{fatherIndex:0}}">
							首页
						</router-link>
					</span>
					/工作动态
				</p>
			</div>

		</div>
		<div class="NewsInform-list">
			<div class="List-box">
				<ul>
					<li v-if="total == 0" class="center">暂无数据！</li>
					<li v-for="workDynamic in workDynamicList" @click="NewsDetails(workDynamic.uuid)" class="cursor">
						<div class="NewsInform-img">
							<img :src="urls.baseUrl + workDynamic.coverUrl" />
						</div>
						<div class="NewsInform-text">
							<p><a class="worktext" :title="workDynamic.name"><i class="yuan"></i>{{workDynamic.name}}</a><span class="fr time">{{formatData(workDynamic.createAt)}}</span></p>
							<div class="navDynamic"   v-html="filterSrcContentLabel(workDynamic.content)">
							</div>
						</div>
					</li>
				</ul>
				<!--total  数据总数   size  一页多少条数据   page  当前页码    changge 返回当前选择的页码  改变一页显示条 child  返回值就是一页显示条数  -->
				<pageination :total="total" :size="size" :page="page" :changge="pageFn" @child="obtainChild"></pageination>
			</div>
		</div>
	</div>

</template>

<script src="./Home.js"></script>

<style scoped>
	@import "Home.css"
</style>
